]> dgit.raspbian.org Git - gnome-shell.git/commit
windowPreview: Track overlay state separately
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Jan 2021 17:36:55 +0000 (18:36 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 1 Feb 2021 20:06:13 +0000 (21:06 +0100)
commitbc6849c7a2a89371addc0e71a4b2229c748742a4
tree48b00c12aad21ad0d24bf055c85afe5a73abe020
parentde299f0a9069072d4c69d0fa2975e3c3a928068c
windowPreview: Track overlay state separately

We currently express the state as a combination of border visibility
and the eventual transition state. That's tedious, in particular if
we want to use the state outside the show()/hide() methods.

Just track the requested visibility in a separate property.

https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1605>
js/ui/windowPreview.js